home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: MegaDisc
/
MegaDisc 36 (1993-11)(MegaDisc Digital Publishing)(AU)(Disk 2 of 2).zip
/
MegaDisc 36 (1993-11)(MegaDisc Digital Publishing)(AU)(Disk 2 of 2).adf
/
ARexx
/
Modular
/
Gadget.mod
< prev
next >
Wrap
Text File
|
1993-08-19
|
728b
|
20 lines
/* If a gadget is clicked */
Gadget:
n = arg(1)
if n > 4 & GetClip('inner_open') = '1' then do
call CloseWindow(HO1) ; s = SetClip('inner_open','0') ; end
select
when n = 1 then call OpenScr.mod()
when n = 2 then call InnerWin.mod()
when n = 3 then call WinText.mod()
when n = 4 then call ClearWin.mod()
when n = 5 then call MakeMenu.mod()
when n = 6 then call AddGad.mod()
when n = 7 then call PlaceText.mod()
when n = 8 then call Rectangle.mod()
when n = 9 then call CloseWin.mod()
when n = 10 then call Gadget10.mod()
when n = 11 then call Gadget11.mod()
otherwise
end
return